<template>
  <div id="app" class="btns">
    <van-pull-refresh v-model="isLoading" success-text="刷新成功" @refresh="onRefresh">
    </van-pull-refresh>
    <router-view></router-view>
    <navbar v-if="isShow"></navbar>
  </div>
</template>
<script>

</script>
<script setup lang="ts">
import { ref, watch, onMounted } from 'vue'
import { useRouter } from 'vue-router';
const isShow = ref(true)
let router = useRouter()



//跳转到该页面的时候tabber隐藏
watch(router, (nval, oval) => {

  console.log('监视当前路由', router.currentRoute.value.meta)
}, { immediate: true })



</script>

<style></style>
